﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.AM
{
    /// <summary>
    /// 资产盘点盈亏表
    /// </summary>
    [Table("AM_AssetProfitLoss")]
    public partial class AM_AssetProfitLoss
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 盘点单Id
        /// </summary>
        public Int32? CheckId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 资产Id
        /// </summary>
        public Int32? AssetId { get; set; }

        /// <summary>
        /// 资产编码
        /// </summary>
        public String AssetCode { get; set; }

        /// <summary>
        /// 资产名称
        /// </summary>
        public String AssetName { get; set; }

        /// <summary>
        /// 资产二维码
        /// </summary>
        public String AssetQrCode { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Int32? Qty { get; set; }

        /// <summary>
        /// 盘点状态:0-盘盈;1-盘亏;
        /// </summary>
        public Int32? Status { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

    }
}